import React, { Component } from "react";
import { Switch, Redirect, Route } from "react-router-dom";
import Home from "../components/Home";
export default class index extends Component {
	render() {
		return (
			<Switch>
				<Route path="/home" component={Home}></Route>
				<Redirect to="/home"></Redirect>
			</Switch>
		);
	}
}
